package com.xyy.saas.payment.adpater.xydLoan.core.req;

import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * 退货
 */
@EqualsAndHashCode(callSuper = true)
@Data
@Accessors(chain = true)
public class XydLoanSalesReturnReq extends XydLoanBaseRequest {

    /**
     * 用户利息
     */
    private String customerInterest;

    /**
     * 退货金额
     */
    private String returnAmount;

    /**
     * 订单号（B2B平台）
     */
    private String thirdOrderNo;

    /**
     * 用户编号（B2B平台）
     */
    private String thirdUserNo;

    /**
     * 请求序列号
     */
    private String sequenceNumber;

    /**
     * 借款号
     */
    private String xydLoanNo;


    public static XydLoanSalesReturnReq mock() {
        XydLoanSalesReturnReq xydAuthCreditReq = new XydLoanSalesReturnReq();
        xydAuthCreditReq.setPlatformCode("yaobangmang");
        xydAuthCreditReq.setProductNo("GYL-YCD-CGD");
        xydAuthCreditReq.setThirdUserNo("11");
//        xydAuthCreditReq.setThirdOrderNo()
//        xydAuthCreditReq.setXydLoanNo()
        xydAuthCreditReq.setReturnAmount("500");
        xydAuthCreditReq.setSequenceNumber("1");
//        xydAuthCreditReq.setXydLoanNo()
        xydAuthCreditReq.setCustomerInterest("0.26");
        return xydAuthCreditReq;
    }

}
